<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>
<form action="/upload" enctype="multipart/form-data" method="post">
    {% csrf_token %}
    <input type="file" name="my_file"><br><br>
    <input type="submit" value="上传文件">
</form>
</body>
</html>